package com.ruoyi.task.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场景摄像头参数管理对象 scene_camera_params_info
 *
 * @author admin
 * @date 2025-08-20
 */
@Data
public class SceneCameraParamsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 场景编号 */
    @Excel(name = "场景编号", dictType= "task_scenarios_type")
    private String scenariosType;

    /** 场景名称 */
    @Excel(name = "场景名称")
    private String scenariosName;

    /** 任务类型：1=总行任务,2=分行任务,3=浩云分行 */
    @Excel(name = "任务类型", readConverterExp = "1=总行任务,2=分行任务,3=浩云分行")
    private String taskType;

    /** 分行机构号 */
    @Excel(name = "分行机构号")
    private String subBankCode;

    /** 分行机名称 */
    @Excel(name = "分行机名称")
    private String subBankName;

    /** 网点机构号 */
    @Excel(name = "网点机构号")
    private String bankCode;

    /** 网点机构名称 */
    @Excel(name = "网点机构名称")
    private String bankName;

    /** 录像机id */
    @Excel(name = "录像机id")
    private Long equipmentId;

    /** 录像机ip */
    @Excel(name = "录像机ip")
    private String equipmentIp;

    /** 录像机通道 */
    @Excel(name = "录像机通道")
    private String equipmentChannel;

    /** 摄像头ID */
    @Excel(name = "摄像头ID")
    private String cameraId;

    /** 摄像头名称 */
    @Excel(name = "摄像头名称")
    private String cameraName;

    /** 框选坐标列表 */
    @Excel(name = "框选坐标列表")
    private String boxes;

    /** 通用配置 */
    @Excel(name = "通用配置")
    private String commonConfig;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("scenariosType", getScenariosType())
                .append("scenariosName", getScenariosName())
                .append("taskType", getTaskType())
                .append("subBankCode", getSubBankCode())
                .append("subBankName", getSubBankName())
                .append("bankCode", getBankCode())
                .append("bankName", getBankName())
                .append("equipmentId", getEquipmentId())
                .append("equipmentIp", getEquipmentIp())
                .append("equipmentChannel", getEquipmentChannel())
                .append("cameraId", getCameraId())
                .append("cameraName", getCameraName())
                .append("boxes", getBoxes())
                .append("commonConfig", getCommonConfig())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
